export default [
	// 邮箱登录
	{
		name: 'auth_login',
		base: {
			url: '/api/auth/login',
			method: 'post',
			headers: {
			},

			// 默认数据
			data: {
			},

		},
		config: {
			notoken: true
		}
	}, 
	{
		name: 'get_issues',
		base: {
			url: '/api/issues',
			method: 'get',
			headers: {
			},

			// 默认数据
			data: {
			},

		},
		config: {
			notoken: true
		}
	},
	// Send magic login code.
	{
		name: 'send_auth_magicLink',
		base: {
			url: '/api/auth/magicLink',
			method: 'post',
			headers: {
			},

			// 默认数据
			data: {
			},

		},
		config: {
			notoken: true
		}
	},
	// Login with email and magic code.
	{
		name: 'auth_magicLinkLogin',
		base: {
			url: '/api/auth/magicLinkLogin',
			method: 'post',
			headers: {
			},

			// 默认数据
			data: {
			},

		},
		config: {
			notoken: true
		}
	},
	// Login with Google
	{
		name: 'auth_google',
		base: {
			url: '/api/auth/google',
			method: 'get',
			headers: {
			},

			// 默认数据
			data: {
			},

		},
		config: {
			notoken: true,
			redirect: true
		}
	},
	// Login with Google 回调
	{
		name: 'auth_google_callback',
		base: {
			url: '/api/auth/google/callback',
			method: 'get',
			headers: {
			},

			// 默认数据
			data: {
			},

		},
		config: {
			notoken: true
		}
	},
	// Login with twitter
	{
		name: 'auth_twitter',
		base: {
			url: '/api/auth/twitter',
			method: 'get',
			headers: {
			},

			// 默认数据
			data: {
			},

		},
		config: {
			notoken: true,
			redirect: true
		}
	},
	// Login with twitter 回调
	{
		name: 'auth_twitter_callback',
		base: {
			url: '/api/auth/twitter/callback',
			method: 'get',
			headers: {
			},

			// 默认数据
			data: {
			},

		},
		config: {
			notoken: true
		}
	},
	// Login with discord
	{
		name: 'auth_discord',
		base: {
			url: '/api/auth/discord',
			method: 'get',
			headers: {
			},

			// 默认数据
			data: {
			},

		},
		config: {
			notoken: true,
			redirect: true
		}
	},
	// Login with discord 回调
	{
		name: 'auth_discord_callback',
		base: {
			url: '/api/auth/discord/callback',
			method: 'get',
			headers: {
			},

			// 默认数据
			data: {
			},

		},
		config: {
			notoken: true
		}
	},
	// Get Address Sign Key
	{
		name: 'get_auth_signKey_id',
		base: {
			url: '/api/auth/signKey/{id}',
			method: 'get',
			headers: {
			},

			// 默认数据
			data: {
			},

		},
		config: {
			replaceid: true,
			notoken: true
		}
	},
	// verify Sign
	{
		name: 'post_auth_verifySign',
		base: {
			url: '/api/auth/verifySign',
			method: 'post',
			headers: {
			},

			// 默认数据
			data: {
			},

		},
		config: {
			notoken: true
		}
	},
]